﻿
namespace NaturalNote.Core.Database
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ColumnAttribute : Attribute
    {
        public ColumnAttribute(string name = "")
        {
            this.Name = name;
        }
        public string Name { get; internal set; }
        public string Description { get;  set; }
        public bool IsPrimary { get; set; } = false;
    }
}
